from .base_room import Room
from ..enemies import get_random_enemy

class CombatRoom(Room):
    def initialize_content(self) -> Dict:
        return {
            "enemy": get_random_enemy(self.floor_level)
        }
    
    def on_enter(self, player):
        # 初始化战斗
        pass
    
    def on_complete(self, player):
        # 处理战斗奖励
        gold_reward = 10 + (self.content["enemy"].level * 5)
        player.add_gold(gold_reward) 